package com.shuqi.tools.dto;

import org.apache.commons.lang.StringUtils;

public class BuildConfig {
	private String v5RuntimePath;
	private String sysPwd;
	private String m3SourcePath;
	private String m3ToolsPath;

	public String getV5RuntimePath() {
		return v5RuntimePath;
	}
	public void setV5RuntimePath(String v5RuntimePath) {
		this.v5RuntimePath = v5RuntimePath;
	}
	public String getSysPwd() {
		return sysPwd;
	}
	public void setSysPwd(String sysPwd) {
		this.sysPwd = sysPwd;
	}
	public String getM3SourcePath() {
		return m3SourcePath;
	}
	public void setM3SourcePath(String m3SourcePath) {
		this.m3SourcePath = m3SourcePath;
	}
	public String getM3ToolsPath() {
		return m3ToolsPath;
	}
	public void setM3ToolsPath(String m3ToolsPath) {
		this.m3ToolsPath = m3ToolsPath;
	}

	/**
	 * 判断当前配置是否是可用状态
	 * @return
	 * @date	2019-12-11 13:25:47
	 * @since	V5 V8.0
	 * @author  shuqi
	 */
	public boolean isOK() {
		return StringUtils.isNotBlank(v5RuntimePath)
				&& StringUtils.isNotBlank(m3SourcePath);
	}
}